package site.ruyi.devclient.client.kafka.impl.DO;

import site.ruyi.devclient.client.kafka.KafkaTreeNode;

public class KafkaTopicTreeNode extends KafkaTreeNode {

	private String topic;
	
	public KafkaTopicTreeNode(String topic) {
		this.topic = topic;
		this.setText(topic);
		this.setLeaf(true);
	}
	
	public String getTopic() {
		return topic;
	}
}
